export const indexSearchData = [
  {
    key: 'supplierCode',
    title: '请选择供应商',
    type: 'select',
    attr: {
      placeholder: '供应商',
      filterable: true,
      remote: true,
      focus:true

      // 'remote-method':getSupplier
    },
    options: []
  },

  {
    key: 'productLineCode',
    title: '请选择产品线',
    type: 'select',
    attr: {
      placeholder: '请选择',
      filterable: true,
      remote: true,
      focus:true

    },
    options: []
  },
  {
    key: 'distributorId',
    title: '请选择经销商',
    type: 'select',
    attr: {
      placeholder: '请选择',
      filterable: true,
      remote: true,
      focus:true
    },
    options: []
  },
  {
    key: 'productName',
    title: '请输入产品名称',
    type: 'input',
    value:'',
  }
];
// 年度列表--列表表头
export const columnsTable = [
  {
    width: '40',
    fixed: 'left',
    type: 'selection'
  },
  {
    type: 'index',
    label: '序号',
    width: 50,
    align: 'center'
  },
  {
    prop: 'supplierName',
    label: '供应商',
    width: 150,
    'show-overflow-tooltip': true
  },
  {
    prop: 'productLineName',
    label: '产品线',
    width: 120,
    'show-overflow-tooltip': true,
    align: 'center'
  },
  {
    prop: 'distributorName',
    label: '经销商',
    minWidth: 170,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'productCode',
    label: '产品编码',
    minWidth: 170,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'productName',
    label: '产品名称',
    minWidth: 170,
    align: 'center',
    'show-overflow-tooltip': true,
  },
  {
    prop: 'productNameEn',
    label: '英文名称',
    minWidth: 80,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'batchNo',
    label: '批号',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'seqNo',
    label: '序列号',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'specs',
    label: '规格',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'validDate',
    label: '有效期',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'surplusStock',
    label: '数量',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'productUnit',
    label: '单位',
    minWidth: 120,
    align: 'center',
    'show-overflow-tooltip': true,

  },
  {
    prop: 'action',
    label: '操作',
    width: 100,
    fixed: 'right',
    align: 'center'
  }
];
